﻿body
{
    background-color: beige;
    font-family: Cambria, Georgia, serif;
}

    /*Lehe ülaserva sügavuse efekt*/

    body:after
    {
        -moz-box-shadow: 0px 0px 10px black;
        box-shadow: 0px 0px 10px black;
        content: "";
        height: 10px;
        left: 0;
        position: fixed;
        top: -10px;
        width: 100%;
        z-index: 100;
    }

#MainContent
{
    display: inline-block;
    margin-top: 10px;
    vertical-align: top;
    min-height: 600px;
    width: 660px;
    padding: 10px;
}

#logo
{
    background-image: url(../Content/Site_Images/logo.png);
    background-repeat: no-repeat;
    height: 444px;
    left: -98px;
    margin-top: 5px;
    opacity: 0.6;
    position: absolute;
    width: 381px;
    z-index: -1;
}


.Page
{
    font-family: Cambria, Georgia, serif;
    -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    background: rgba(255, 255, 255, 0.60);
    box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    margin: auto;
    position: relative;
    width: 984px;
    min-height: 800px;
    padding-bottom: 20px;
}


header
{
    height: 75px;
}

nav
{
    font: 16px/26px Cambria, Georgia, serif;
    height: 30px;
    padding-top: 10px;
}

    nav a
    {
        z-index: 0;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        background: rgba(182, 255, 0, 0.15);
        color: DimGrey;
        font-size: 20px;
        font-variant: small-caps;
        letter-spacing: 2px;
        line-height: 20px;
        margin-left: 15px;
        min-width: 60px;
        padding: 5px 20px;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
    }

        nav a:hover, .current, .commentSubmitButton:hover
        {
            -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
            -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
            background: rgb(182, 255, 0);
            behavior: url(PIE.htc);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
            color: #1e1e1e;
        }

/*Autocomplete menüü algus*/

.ui-menu
{
    -moz-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);
    background-color: rgba(36, 170, 230, 0.65);
    behavior: url(PIE.htc);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);
    list-style: none outside none;
    margin: 0;
    padding: 2px;
}


    .ui-menu a
    {
        width: 250px;
        padding: 10px 3px 3px 3px;
    }
/*Items in the autocomplete box*/

.ui-corner-all
{
    width: 250px;
    cursor: pointer;
    display: block;
    padding: 5px 3px 3px 3px;
    text-decoration: none;
}
/*Hovering over the items in the autocomplete box*/

.ui-state-hover, .ui-autocomplete li:hover
{
    background-color: rgb(224, 255, 255);
}

/*Autocomplete menüü lõpp*/

.addItemButton
{
    background: rgba(36, 170, 230, 0.15);
    color: DimGrey;
    float: right;
    margin-right: 15px;
}

    .addItemButton:hover, #searchButton:hover, .currentAdd
    {
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        background-color: rgb(36, 170, 230);
        behavior: url(PIE.htc);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        color: #1e1e1e;
    }

.searchDiv
{
    height: 30px;
    float: right;
    margin-top: 35px;
    width: 250px;
}

    .searchDiv input
    {
        width: 130px;
    }

    .searchDiv a
    {
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: rgba(36, 170, 230, 0.15);
        color: DimGrey;
        font-size: 17px;
        font-variant: small-caps;
        letter-spacing: 2px;
        line-height: 20px;
        margin-left: 5px;
        margin-right: 25px;
        padding: 5px 20px;
        text-align: center;
        text-decoration: none;
    }

.filterItems
{
    margin-left: 15px;
    margin-bottom: 5px;
}

    .filterItems label
    {
        margin-right: 35px;
    }

.filterItem
{
    cursor: pointer;
    text-decoration: none;
    color: gray;
    margin-left: 15px;
}

    .filterItem:hover
    {
        color: black;
    }

.filterSelected
{
    cursor: default;
    text-decoration: none;
    color: black;
    margin-left: 15px;
}

.recentConspectItem label, .recentTestItem label
{
    display: block;
    margin-top: 3px;
    margin-bottom: 5px;
    margin-left: 110px;
    margin-right: 10px;
    padding: 5px;
    clear: right;
    cursor: pointer;
}


.recentConspectItem img, .recentTestItem img
{
    border: none;
    float: left;
    clear: left;
    width: 72px;
    height: 72px;
}

.recentBooksMain, .recentConspectsMain, .recentTestsMain
{
    min-height: 650px;
    width: 680px;
    margin-right: 0px;
}

.recentBookItem, .recentConspectItem, .recentTestItem
{
    margin-left: 10px;
    display: block;
    width: 600px;
    height: 72px;
    clear: left;
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    background-color: rgba(36, 170, 230, 0.10);
    cursor: pointer;
    text-decoration: none;
    color: black;
}

    .recentBookItem:hover, .recentConspectItem:hover, .recentTestItem:hover
    {
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        background-color: rgba(36, 170, 230,0.4);
        behavior: url(PIE.htc);
        color: #1e1e1e;
    }

    .recentBookItem label
    {
        display: block;
        letter-spacing: 0.1em;
        margin-left: 110px;
        margin-right: 10px;
        padding-top: 3px;
        clear: right;
        cursor: pointer;
    }

    .recentBookItem img
    {
        border: none;
        float: left;
        clear: left;
        width: 72px;
        height: 72px;
    }

#selectCategory
{
    width: 200px;
}

#Sidebar
{
    display: inline-block;
    vertical-align: top;
    width: 290px;
    margin-left: 5px;
    margin-top: 25px;
}

.sidebarItem
{
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: rgba(182, 255, 0, 0.15);
    color: DimGrey;
    display: block;
    font: 17px/26px Cambria, Georgia, serif;
    height: 100%;
    padding: 5px;
    margin-bottom: 5px;
    text-decoration: none;
    width: 95%;
}


    .sidebarItem:hover, .sidebarItemActive
    {
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        background: rgb(182, 255, 0);
        behavior: url(PIE.htc);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        color: #1e1e1e;
        display: block;
        height: 100%;
        font: 17px/26px Cambria, Georgia, serif;
        text-decoration: none;
        width: 95%;
        padding: 5px;
        margin-bottom: 5px;
        margin-left: 10px;
    }

/*Detailide lehe algus*/
.detailsPanel
{
    font-size: 17px;
    text-align: center;
    width: 680px;
}

.headingsDiv
{
    float: left;
    width: 100px;
    vertical-align: top;
    clear: left;
}

    .headingsDiv label
    {
        display: block;
        margin-top: 25px;
        margin-bottom: 0;
        text-align: right;
        height: 21px;
    }

.imgUploadDiv {
     margin-left: 120px;
 }

.addNewBookPanel
{
    width: 600px;
    height: 670px;
}

.addNewConspectPanel
{
    width: 600px;
    height: 250px;
}

.userContactTipsDiv label {
    color: gray;
}

.userContactDiv
{
    display: block;
    clear: both;
    height: 215px;
    width: 600px;
}

.contactInputDiv
{
    vertical-align: top;
    float: left;
    text-align: left;
    width: 400px;
}

    .contactInputDiv input
    {
        display: block;
        margin-left: 25px;
        margin-top: 25px;
        padding-left: 5px;
        width: 400px;
    }

.valuesDivAddSlider
{
    float: right;
    text-align: left;
    width: 300px;
    margin-right: 17px;
    margin-top: 25px;
}

.valuesDivAdd
{
    vertical-align: top;
    float: left;
    text-align: left;
    width: 450px;
}

    .valuesDivAdd input
    {
        margin-left: 25px;
        margin-top: 25px;
        padding-left: 5px;
        width: 400px;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .valuesDivAdd select
    {
        margin-left: 25px;
        margin-top: 24px;
        padding-left: 5px;
        width: 409px;
        height: 23px;
    }

    .valuesDivAdd textarea
    {
        margin-left: 25px;
        margin-top: 24px;
        padding-left: 5px;
        width: 400px;
        height: 50px;
        resize: none;
    }

.valuesDiv
{
    vertical-align: top;
    float: left;
    text-align: left;
    width: 400px;
}

    .valuesDiv label
    {
        background-color: rgba(36, 170, 230, 0.10);
        display: block;
        margin-left: 25px;
        margin-top: 20px;
        padding-bottom: 5px;
        padding-top: 5px;
        padding-left: 5px;
    }

    .valuesDiv textarea
    {
        font-family: Cambria, Georgia, serif;
        background-color: rgba(36, 170, 230, 0.10);
        font-size: 17px;
        margin-left: 25px;
        padding-left: 5px;
        margin-top: 25px;
        max-width: 530px;
        width: 530px;
        border: none;
        margin-bottom: 5px;
    }

.conspectFilesDiv
{
    display: block;
    clear: both;
    float: left;
    margin-left: 125px;
    width: 538px;
}

    .conspectFilesDiv label
    {
        cursor: pointer;
    }

    .conspectFilesDiv a
    {
        width: 100%;
        text-align: left;
        float: left;
        display: block;
        clear: both;
    }

        .conspectFilesDiv a:hover
        {
            background-color: rgba(36, 170, 230, 0.10);
        }

    .conspectFilesDiv img
    {
        height: 48px;
        border: none;
    }

.bookPicturesDiv
{
    vertical-align: top;
    width: 150px;
    float: left;
}

    .bookPicturesDiv img
    {
        border: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
        margin-top: 20px;
        margin-left: 10px;
    }

        .bookPicturesDiv img:hover
        {
            box-shadow: none;
        }



/*Kommentaaride pea-DIV algus*/

.commentsDiv
{
    margin-left: 125px;
    width: 538px;
    text-align: left;
    clear: both;
}

#kommentaarid
{
    text-align: left;
    display: block;
    clear: both;
    font-size: 20px;
    padding-top: 25px;
    padding-bottom: 10px;
    margin-left: 125px;
}


/*Kommentaaride lisamine algus*/


#commentTextBox
{
    color: black;
    clear: both;
    display: block;
    width: 490px;
    resize: vertical;
    height: 30px;
}

#commentAuthorTextBox
{
    float: left;
    margin-bottom: 10px;
}

.addCommentDiv
{
    padding-top: 10px;
    background-color: rgba(36, 170, 230, 0.10);
}

    .addCommentDiv p
    {
        margin-bottom: 0px;
        margin-top: 0px;
    }


.commentSubmitButton
{
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: rgba(182, 255, 0, 0.35);
    color: DimGrey;
    display: inline-block;
    margin-top: 2px;
    margin-left: 50px;
    font-size: 20px;
    font-variant: small-caps;
    letter-spacing: 1px;
    width: 200px;
    text-align: center;
    vertical-align: top;
    text-decoration: none;
    cursor: pointer;
}

fieldset
{
    border: none;
}

/*Kommentaaride lisamine lõpp*/

.addValidation {
    float: right;
    margin-top: 27px;
    margin-bottom: -21px;
}

.field-validation-error
{
    display: block;
    clear: both;
    color: crimson;
}

input, textarea
{
    padding-left: 2px;
    font-family: Cambria, Georgia, serif;
    font-size: 15px;
}
/*Kommentaaride vaatamise algus*/
.commentsMain
{
    margin-top: 20px;
    clear: both;
}

.oneComment
{
    clear: both;
    margin-top: 5px;
}

    .oneComment textarea
    {
        font-family: Cambria, Georgia, serif;
        background-color: rgba(36, 170, 230, 0.10);
        font-size: 16px;
        max-width: 535px;
        width: 535px;
        border: none;
        line-height: 1.5em;
    }

.commentHeading
{
    color: darkgray;
    font-size: 10px;
    padding-left: 5px;
}

.commentUserName
{
    color: darkslategray;
    padding-left: 5px;
}
/*Kommentaaride vaatamise lõpp*/

/*Kommentaaride pea-DIV lõpp*/


.commentsLoadingImage
{
    margin-left: 10px;
    height: 32px;
    width: 32px;
}

.loadingImage
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pacmanLoadingImage
{
    height: 19px;
    width: 19px;
    margin-right: 65px;
}

/*Uute materjalide/kommentaaride otsa lisamine algus*/
.loadNextItemsDiv
{
    cursor: pointer;
    bottom: 15px;
    height: 30px;
    width: 605px;
    margin-left: 10px;
    text-align: center;
}

#loadNextCommentsDiv
{
    cursor: pointer;
    text-align: center;
    bottom: 15px;
    height: 30px;
    width: 538px;
    margin-top: 10px;
}

#loadNextComments
{
    margin-top: 20px;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 20px;
    text-decoration: none;
    font-size: 18px;
    outline: none;
    background-color: rgba(182, 255, 0, 0.25);
    color: #000;
}

#loadNextConspects, #loadNextBooks
{
    margin-top: 5px;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 20px;
    text-decoration: none;
    font-family: Cambria, Georgia, serif;
    font-size: 18px;
    outline: none;
    background-color: rgba(182, 255, 0, 0.25);
    color: #000;
}

    #loadNextConspects:hover, #loadNextBooks:hover, #loadNextComments:hover
    {
        background-color: rgba(182, 255, 0, 0.45);
    }
/*Uute materjalide otsa lisamine lõpp*/
